<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>:::冬奥会:::</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<!--  <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">-->
  <link rel="stylesheet" href="static/layuiadmin/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="static/layuiadmin/style/admin.css" media="all">
  <!--在线自定义图标 阿良账号-->
  <link rel="stylesheet" href="http://at.alicdn.com/t/font_1725720_k8nxsj96b1o.css" media="all">
  <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
  <script>
    /^http(s*):\/\//.test(location.href) || alert('请先部署到 localhost 下再访问');
  </script>
</head>
<body class="layui-layout-body">

<div id="LAY_app">
  <div class="layui-layout layui-layout-admin">
    <div class="layui-header">
      <!-- 头部区域 -->
      <ul class="layui-nav layui-layout-left">
        <li class="layui-nav-item layadmin-flexible" lay-unselect>
          <a href="javascript:" layadmin-event="flexible" title="侧边伸缩">
            <i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible"></i>
          </a>
        </li>
       <!-- <li class="layui-nav-item layui-hide-xs" lay-unselect>
          <a href="http://www.layui.com/admin/" target="_blank" title="前台">
            <i class="layui-icon layui-icon-website"></i>
          </a>
        </li>-->
       <!-- <li class="layui-nav-item" lay-unselect>
          <a href="javascript:" layadmin-event="refresh" title="刷新">
            <i class="layui-icon layui-icon-refresh-3"></i>
          </a>
        </li>

        <li class="layui-nav-item layui-hide-xs" lay-unselect>
          <input type="text" placeholder="搜索..." autocomplete="off" class="layui-input layui-input-search"
                 layadmin-event="serach" lay-action="template/search.jhtml?keywords=">
        </li>-->
      </ul>
      <ul class="layui-nav layui-layout-right" lay-filter="layadmin-layout-right">


        <li class="layui-nav-item layui-hide-xs" lay-unselect>
        <a href="javascript:" layadmin-event="theme">
        <i class="layui-icon layui-icon-theme"></i>
        </a>
        </li>
        <!--<li class="layui-nav-item" lay-unselect>-->
        <!--<a onclick="x_admin_show('发布通知','notice/list.jhtml',700,400)" layadmin-event="note">-->
        <!--<i class="layui-icon layui-icon-note"></i>-->
        <!--</a>-->
        <!--</li>-->
        <li class="layui-nav-item layui-hide-xs" lay-unselect>
          <a href="javascript:" layadmin-event="fullscreen">
            <i class="layui-icon layui-icon-screen-full"></i>
          </a>
        </li>

        <li class="layui-nav-item" lay-unselect="">
          <a href="javascript:"><img src="${isNotEmpty(session.om_user.image)?session.om_user.image:'static/layuiadmin/layui/img/carousel/01.jpg'}" class="layui-nav-img">${session.om_user.name}</a>
          <dl class="layui-nav-child">
            <dd><a lay-href="base/link/@/video/environHealth.jhtml">基本资料</a></dd>
            <dd><a lay-href="base/link/@/set/user/password.jhtml">修改密码</a></dd>
            <hr>
            <dd layadmin-event="" style="text-align: center;"><a href="logout.jhtml">退出</a></dd>
          </dl>
        </li>


       <!-- <li class="layui-nav-item layui-hide-xs" lay-unselect>
          <a href="javascript:" layadmin-event="about"><i class="layui-icon layui-icon-more-vertical"></i></a>
        </li>
        <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-unselect>
          <a href="javascript:" layadmin-event="more"><i class="layui-icon layui-icon-more-vertical"></i></a>
        </li>-->
      </ul>
    </div>

    <!-- 侧边菜单 -->
    <div class="layui-side layui-side-menu">
      <div class="layui-side-scroll">
        <div class="layui-logo" lay-href="home/console.jhtml" style="height: 67px">
          <div style="height: 26px;font-size: 15px">
            <span>北京冬奥会监测与反馈系统</span>
          </div>

          <label style="font-size: 8px">V1.0/管理角色</label>
        </div>
        <ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu"
            lay-filter="layadmin-system-side-menu" style="margin-top: 67px">
          <li data-name="home" class="layui-nav-item layui-nav-itemed">
            <a href="javascript:" lay-tips="主页" lay-direction="2">
              <i class="layui-icon layui-icon-home"></i>
              <cite>首页</cite>
            </a>
          </li>
          <li data-name="user" class="layui-nav-item">
            <a href="base/link/@/bigdata/index.jhtml" lay-tips="数据展示" lay-direction="2">
              <i class="layui-icon layui-icon-website"></i>
              <cite>数据展示页面</cite>
            </a>
          </li>
<!--          <li data-name="user" class="layui-nav-item">-->
<!--            <a lay-tips="数据展示" lay-direction="2">-->
<!--              <i class="layui-icon layui-icon-website"></i>-->
<!--              <cite>详细数据</cite>-->
<!--            </a>-->
<!--            <dl class="layui-nav-child">-->
<!--              <dd>-->
<!--                <a lay-href="base/link/@/showData/index01.jhtml">环境检测数据</a></dd>-->
<!--              </dd>-->
<!--              <dd>-->
<!--                <a lay-href="base/link/@/showData/index02.jhtml">振弦传感器数据</a></dd>-->
<!--              </dd>-->
<!--              <dd>-->
<!--                <a lay-href="base/link/@/showData/index03.jhtml">激光传感器数据</a></dd>-->
<!--              </dd>-->
<!--              <dd>-->
<!--                <a lay-href="base/link/@/showData/index04.jhtml">光纤传感器数据</a></dd>-->
<!--              </dd>-->
<!--              <dd>-->
<!--                <a lay-href="base/link/@/showData/index05.jhtml">边坡监测数据</a></dd>-->
<!--              </dd>-->
<!--              <dd>-->
<!--                <a lay-href="base/link/@/showData/index06.jhtml">形变检测数据</a></dd>-->
<!--              </dd>-->
<!--            </dl>-->
<!--          </li>-->
          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/showData/index01.jhtml" lay-tips="报警系统" lay-direction="2">
              <i class="layui-icon layui-icon-website"></i>
              <cite>环境检测数据</cite>
            </a>
          </li>
          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/showData/index02.jhtml" lay-tips="报警系统" lay-direction="2">
              <i class="layui-icon layui-icon-website"></i>
              <cite>振弦传感器数据</cite>
            </a>
          </li>
          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/showData/index03.jhtml" lay-tips="报警系统" lay-direction="2">
              <i class="layui-icon layui-icon-website"></i>
              <cite>激光传感器数据</cite>
            </a>
          </li>
          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/showData/index04.jhtml" lay-tips="报警系统" lay-direction="2">
              <i class="layui-icon layui-icon-website"></i>
              <cite>光纤传感器数据</cite>
            </a>
          </li>
          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/showData/index05.jhtml" lay-tips="报警系统" lay-direction="2">
              <i class="layui-icon layui-icon-website"></i>
              <cite>边坡监测数据</cite>
            </a>
          </li>
          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/showData/index06.jhtml" lay-tips="报警系统" lay-direction="2">
              <i class="layui-icon layui-icon-website"></i>
              <cite>形变检测数据</cite>
            </a>
          </li>

          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/callSystem/index.jhtml" lay-tips="报警系统" lay-direction="2">
              <i class="layui-icon layui-icon-website"></i>
              <cite>报警系统</cite>
            </a>
          </li>
<!--          <li data-name="user" class="layui-nav-item">-->
<!--            <a href="javascript:" lay-tips="开设账户" lay-direction="2">-->
<!--              <i class="layui-icon layui-icon-website"></i>-->
<!--              <cite>管理系统</cite>-->
<!--            </a>-->
<!--            <dl class="layui-nav-child">-->
<!--              <dd>-->
<!--                <a lay-href="base/link/@/accountNumber/accountIndex.jhtml">用户管理</a></dd>-->
<!--              </dd>-->
<!--              <dd>-->
<!--                <a lay-href="base/link/@/manageSystem/index.jhtml">设备管理</a></dd>-->
<!--              </dd>-->
<!--            </dl>-->
<!--          </li>-->
          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/accountNumber/accountIndex.jhtml" lay-tips="开设账户" lay-direction="2">
              <i class="layui-icon layui-icon-website"></i>
              <cite>用户管理</cite>
            </a>
          </li>
          <li data-name="user" class="layui-nav-item">
            <a lay-href="base/link/@/manageSystem/index.jhtml" lay-tips="开设账户" lay-direction="2">
              <i class="layui-icon layui-icon-website"></i>
              <cite>设备管理</cite>
            </a>
          </li>

<!--          <li data-name="senior" class="layui-nav-item">-->
<!--            <a href="javascript:" lay-tips="数据配置" lay-direction="2">-->
<!--              <i class="layui-icon layui-icon-survey"></i>-->
<!--              <cite>数据配置</cite>-->
<!--            </a>-->

<!--          </li>-->

<!--          <li data-name="user" class="layui-nav-item">-->
<!--            <a lay-href="base/link/@/project/sysproject.jhtml" lay-tips="场地管理" lay-direction="2">-->
<!--              <i class="layui-icon layui-icon-layer"></i>-->
<!--              <cite>场地管理</cite>-->
<!--            </a>-->

<!--          </li>-->

<!--          <li data-name="user" class="layui-nav-item">-->
<!--            <a href="javascript:" lay-tips="系统设置" lay-direction="2">-->
<!--              <i class="layui-icon layui-icon-senior"></i>-->
<!--              <cite>系统设置</cite>-->
<!--            </a>-->
<!--            <dl class="layui-nav-child">-->
<!--              <dd>-->
<!--                <a lay-href="base/link/@/video/environHealth.jhtml">基本信息</a>-->
<!--              </dd>-->
<!--              <dd>-->
<!--                <a lay-href="base/link/@/set/user/password.jhtml">修改密码</a>-->
<!--              </dd>-->
<!--            </dl>-->
<!--          </li>-->
<!--          <li data-name="user" class="layui-nav-item">-->
<!--            <a href="base/link/@/bigdata/index.jhtml" lay-tips="全局展示" lay-direction="2">-->
<!--              <i class="layui-icon layui-icon-website"></i>-->
<!--              <cite>全局展示</cite>-->
<!--            </a>-->
<!--          </li>-->

        </ul>
      </div>
    </div>

    <!-- 页面标签 -->
    <div class="layadmin-pagetabs" id="LAY_app_tabs">
      <div class="layui-icon layadmin-tabs-control layui-icon-prev" layadmin-event="leftPage"></div>
      <div class="layui-icon layadmin-tabs-control layui-icon-next" layadmin-event="rightPage"></div>
      <div class="layui-icon layadmin-tabs-control layui-icon-down">
        <ul class="layui-nav layadmin-tabs-select" lay-filter="layadmin-pagetabs-nav">
          <li class="layui-nav-item" lay-unselect>
            <a href="javascript:"></a>
            <dl class="layui-nav-child layui-anim-fadein">
              <dd layadmin-event="closeThisTabs"><a href="javascript:">关闭当前标签页</a></dd>
              <dd layadmin-event="closeOtherTabs"><a href="javascript:">关闭其它标签页</a></dd>
              <dd layadmin-event="closeAllTabs"><a href="javascript:">关闭全部标签页</a></dd>
            </dl>
          </li>
        </ul>
      </div>
      <div class="layui-tab" lay-unauto lay-allowClose="true" lay-filter="layadmin-layout-tabs">
        <ul class="layui-tab-title" id="LAY_app_tabsheader">
          <li lay-id="home/console.jhtml" lay-attr="home/console.jhtml" class="layui-this"><i
                  class="layui-icon layui-icon-home"></i></li>
        </ul>
      </div>
    </div>


    <!-- 主体内容 -->

    <div class="layui-body" id="LAY_app_body">
      <div class="layadmin-tabsbody-item layui-show">
        <iframe src="home/technologymain.jhtml" frameborder="0" class="layadmin-iframe"></iframe>
      </div>
    </div>


    <!-- 辅助元素，一般用于移动设备下遮罩 -->
    <div class="layadmin-body-shade" layadmin-event="shade"></div>
  </div>
</div>
<!-- 弹出页面 -->
<div class="layui-form" lay-filter="layuiadmin-form-area"
     id="layuiadmin-form-area"
     style="padding: 15px;display: none">
  <form action class="layui-form" lay-filter="component-form-element" id="myform">

  </form>
</div>
<script src="static/layuiadmin/layui/layui.js"></script>
<script>

  function x_admin_show(title, url, w, h) {
    if (title == null || title == '') {
      title = false;
    }
    if (url == null || url == '') {
      url = "404.html";
    }
    if (w == null || w == '') {
      w = ($(window).width() * 0.4);
    }
    if (h == null || h == '') {
      h = ($(window).height() - 400);
    }
    layer.open({
      type: 2,
      area: [w + 'px', h + 'px'],
      fix: false, //不固定
      maxmin: true,
      shadeClose: false,
      shade: 0.4,
      title: title,
      content: url,
      success: function (layero, index) {
        layer.render();
      }
    });
  }


  layui.config({
    base: 'static/layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'admin', 'layer', 'element', 'form'], function () {


    var element = layui.element;
    element.render('nav');
    var $ = layui.jquery;
    admin = layui.admin;
    var form = layui.form;
/*

  <%
    if (panshiro.hasAnyRole("enterprise")) {%>
    <%
      if (null == session.project) {%>
        layer.open({
          type: 1,
          area: ['100%', '100%'],
          fix: false, //不固定
          maxmin: true,
          closeBtn: 0,//不显示右上角关闭按钮
          shadeClose: false,
          shade: 0.4,
          move: false, //禁止弹出层鼠标拖动
          title: "欢迎  ${session.om_user.name}  -请选择场地",
          content: $("#layuiadmin-form-area"),
          success: function (layero, index) {
            form.render();
            form.on('select(area-se)', function (data1) {
              $.ajax({
                url: 'system/project/switchproject.jhtml',
                type: "POST",
                data: {
                  id: data1.value
                },
                dataType: "json",
                success: function (ret) {
                  layer.msg(ret.msg, {icon: 6});
                  setTimeout(function () {
                    window.location.reload();
                  }, 1000);
                },
                error: function (jqXHR, textStatus, errorThrown) {
                }
              });
            });
          }
        });
      <%
      }
    %>
    <%
    }
  %>
*/


    $(".swpro").click(function () {
      var id = $(this).data("bas");
      admin.req({
        url: 'system/project/switchproject.jhtml',
        data: {
          id: id
        },
        type: 'post',
        done: function (res) {
          layer.msg(res.msg, {icon: 6});
          setTimeout(function () {
            window.location.reload();
          }, 1000);
        }
      });
    });
    $(".swarea").click(function () {
      var id = $(this).data("area");
      admin.req({
        url: 'system/project/switcharea.jhtml',
        data: {
          id: id
        },
        type: 'post',
        done: function (res) {
          layer.msg(res.msg, {icon: 6});
          setTimeout(function () {
            window.location.reload();
          }, 1000);
        }
      });
    })
  });
</script>
</body>
</html>


